package com.estate.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.estate.system.mapper.RegislatorbuyorsellorsellMapper;
import com.estate.system.domain.Regislatorbuyorsellorsell;
import com.estate.system.service.IRegislatorbuyorsellorsellService;
import com.estate.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author estate
 * @date 2022-07-07
 */
@Service
public class RegislatorbuyorsellorsellServiceImpl implements IRegislatorbuyorsellorsellService 
{
    @Autowired
    private RegislatorbuyorsellorsellMapper regislatorbuyorsellorsellMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param name 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public Regislatorbuyorsellorsell selectRegislatorbuyorsellorsellByName(String name)
    {
        return regislatorbuyorsellorsellMapper.selectRegislatorbuyorsellorsellByName(name);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param regislatorbuyorsellorsell 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<Regislatorbuyorsellorsell> selectRegislatorbuyorsellorsellList(Regislatorbuyorsellorsell regislatorbuyorsellorsell)
    {
        return regislatorbuyorsellorsellMapper.selectRegislatorbuyorsellorsellList(regislatorbuyorsellorsell);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param regislatorbuyorsellorsell 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertRegislatorbuyorsellorsell(Regislatorbuyorsellorsell regislatorbuyorsellorsell)
    {
        return regislatorbuyorsellorsellMapper.insertRegislatorbuyorsellorsell(regislatorbuyorsellorsell);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param regislatorbuyorsellorsell 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateRegislatorbuyorsellorsell(Regislatorbuyorsellorsell regislatorbuyorsellorsell)
    {
        return regislatorbuyorsellorsellMapper.updateRegislatorbuyorsellorsell(regislatorbuyorsellorsell);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param names 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteRegislatorbuyorsellorsellByNames(String names)
    {
        return regislatorbuyorsellorsellMapper.deleteRegislatorbuyorsellorsellByNames(Convert.toStrArray(names));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param name 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteRegislatorbuyorsellorsellByName(String name)
    {
        return regislatorbuyorsellorsellMapper.deleteRegislatorbuyorsellorsellByName(name);
    }
}
